package com.hp_dzzl.item.modular.armor;

import net.minecraft.world.entity.EquipmentSlot;
import net.minecraft.world.item.ItemStack;
import se.mickelus.tetra.gui.GuiModuleOffsets;
import ovo.yiran.geotetraarmor.items.ModularArmorItem;

public class HpModularHeadItem extends ModularArmorItem{
    public HpModularHeadItem() {
        super(EquipmentSlot.HEAD, "modular_head");
        this.majorModuleKeys = new String[]{"helmet", "helmet_lining"};
        this.minorModuleKeys = new String[]{ "helmet/socket"};
        this.requiredModules = new String[]{"helmet", "helmet_lining"};
    }

    @Override
    public GuiModuleOffsets getMajorGuiOffsets(ItemStack itemStack) {
        return new GuiModuleOffsets(new int[]{4, 18, -14, 18});
    }

    @Override
    public GuiModuleOffsets getMinorGuiOffsets(ItemStack itemStack) {
        return new GuiModuleOffsets(new int[]{5, 0});
    }
}
